{% extends "layout.html" %}
{% block subtitle %}Post A New Topic{% endblock %}
{% from "snipple/macro.html" import navigation %}
{% block nav %}
  {{navigation('other')}}
{% endblock %}
{% block main %}
<div class="row">
  <div class="col-md-3"></div>
  <div class="col-md-6">
    <div class="panel panel-default">
      <center><h2>Post A New Topic</h2></center>
      <form method="POST" class="panel-body">
        {{ form.hidden_tag() }}
        {{ form.title.label }}
        {{ form.title(class='form-control') }}
        {{ form.body.label }}
        {{ form.body(class='form-control', rows=20) }}
        <div class="sep10"></div>
        {{ form.submit(class='btn btn-default') }}
      </form>
    </div>
  </div>
  <div class="col-md-3"></div>
</div>
{% endblock %}
